package com.xxx.mall.converter;

import com.xxx.mall.dto.BrandDTO;
import com.xxx.mall.model.Brand;
import com.xxx.mall.vo.BrandVO;
import org.mapstruct.Mapper;

/**
 * @author 邢晨旭
 * {@code @date} 2023/11/17
 */
@Mapper(componentModel = "spring")
public interface BrandConverter {

    Brand toBrand(BrandDTO dto);

    BrandVO toBrandVO(Brand Brand);
}
